package com.bedpotato.proxyclawer;

import org.springframework.context.ApplicationContext;

import com.bedpotato.constants.ProxyClawerConstants;
import com.bedpotato.service.FunctionTestService;
import com.bedpotato.service.ProxyClawerService;

public class App {
	public static void main(String[] args) {
		ApplicationContext applicationContext = ProxyClawerConstants.applicationContext;
		FunctionTestService functionTestService = applicationContext.getBean(
				"functionTestService", FunctionTestService.class);
		functionTestService.testFuncion();
		ProxyClawerService proxyClawerService = applicationContext.getBean(
				"proxyClawerService", ProxyClawerService.class);
		proxyClawerService.proxyClaw();
	}
}